import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.Callable;
public class Call implements Callable<List<Boolean>> {
    Input input=new Input();
    int numbers=input.getNumbers();
    @Override
    public List<Boolean> call() throws Exception {
        List<Boolean> booleans=new ArrayList<Boolean>();
        for(int t=0;t<numbers;t++){
            booleans.add(true);
        }
        for ( int i=2; i < numbers; i++){
            for (int j = i; j * i < numbers; j++){
                booleans.set(i * j, false);
            }
        }
        return booleans;
    }
}
